<#include "/common/taglibs.ftl" />
<title>Dialog Demo</title>
<div class="m-portlet">
    <div class="m-portlet__head">
        <div class="m-portlet__head-caption">
            <div class="m-portlet__head-title">
                <h3 class="m-portlet__head-text">
                    JSTree Examples
                </h3>
            </div>
        </div>
    </div>
    <div class="m-portlet__body">
        <div id="container">
            <ul>
                <li>Root node
                    <ul>
                        <li>Child node 1</li>
                        <li>Child node 2</li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>
<page-script>
    <script>
        //https://www.jstree.com/

        jQuery(function ($) {
            $(function() {
                $('#container').jstree();
            });
        });
    </script>

</page-script>